An Effective SAT Encoding for Magic Labeling
نویسنده
چکیده
This work presents a Boolean satisfiability (SAT) encoding for a special problem from combinatorial optimization. In the last years much progress has been made in the optimization of practical SAT solvers (see the SAT competition [5]). This has made SAT encodings for combinatorial problems highly attractive. In this work we propose an encoding for the combinatorial problem Magic Labeling which has important applications in the field of wireless networks [4]. It is defined as follows. Let an undirected, unweighted graph G = (V,E) be given with vertex set V and edge set E, where |V | = n and |E| = m. A labeling is a one-to-one mapping λ : V ∪E → {1, 2, . . . ,m+ n}. Define the weight ω(e) of an edge e ∈ E as the sum of the label of e and of the labels of its two endpoints. An edge-magic total labeling (EMTL) is a labeling λ for which a constant h ∈ N exists such that ω(e) = h for each edge e ∈ E. Similarly, define the weight ω(v) of a vertex v ∈ V as the sum of the label of v and of the labels of all edges incident to v. A vertex-magic total labeling (VMTL) is a labeling λ for which a constant k ∈ N exists such that ω(v) = k for each vertex v ∈ V . Finally, a totally magic labeling (TML) is a labeling λ for which (not necessarily equal) constants h, k ∈ N exist such that λ is edge-magic with constant h and vertex-magic with constant k. h and k are called magic constants. A vertex v ∈ V and an edge e ∈ E are denoted neighboring, if e is incident to v. Note that different EMTLs exist for the same graph, and the same holds for VMTLs. Surveys of results for magic graphs are given in [4]. We consider the following three problems for a given graph: (1) Does an EMTL exist with given magic constant h ∈ N? (2) Does a VMTL exist with given magic constant k ∈ N? (3) Does a TML exist with given magic constants h, k ∈ N?
منابع مشابه
$Z_k$-Magic Labeling of Some Families of Graphs
For any non-trivial abelian group A under addition a graph $G$ is said to be $A$-textit{magic} if there exists a labeling $f:E(G) rightarrow A-{0}$ such that, the vertex labeling $f^+$ defined as $f^+(v) = sum f(uv)$ taken over all edges $uv$ incident at $v$ is a constant. An $A$-textit{magic} graph $G$ is said to be $Z_k$-magic graph if the group $A$ is $Z_k$ the group of integers modulo $k...
متن کاملTotally magic cordial labeling of some graphs
A graph G is said to have a totally magic cordial labeling with constant C if there exists a mapping f : V (G) ∪ E(G) → {0, 1} such that f(a) + f(b) + f(ab) ≡ C (mod 2) for all ab ∈ E(G) and |nf (0) − nf (1)| ≤ 1, where nf (i) (i = 0, 1) is the sum of the number of vertices and edges with label i. In this paper, we give a necessary condition for an odd graph to be not totally magic cordial and ...
متن کاملOn Barycentric-Magic Graphs
Let $A$ be an abelian group. A graph $G=(V,E)$ is said to be $A$-barycentric-magic if there exists a labeling $l:E(G)longrightarrow Asetminuslbrace{0}rbrace$ such that the induced vertex set labeling $l^{+}:V(G)longrightarrow A$ defined by $l^{+}(v)=sum_{uvin E(G)}l(uv)$ is a constant map and also satisfies that $l^{+}(v)=deg(v)l(u_{v}v)$ for all $v in V$, and for some vertex $u_{v}$ adjacent t...
متن کاملMixed cycle-E-super magic decomposition of complete bipartite graphs
An H-magic labeling in a H-decomposable graph G is a bijection f : V (G) ∪ E(G) → {1, 2, ..., p + q} such that for every copy H in the decomposition, ΣνεV(H) f(v) + ΣeεE(H) f(e) is constant. f is said to be H-E-super magic if f(E(G)) = {1, 2, · · · , q}. A family of subgraphs H1,H2, · · · ,Hh of G is a mixed cycle-decomposition of G if every subgraph Hi is isomorphic to some cycle Ck, for k ≥ ...
متن کاملMixed cycle-E-super magic decomposition of complete bipartite graphs
An H-magic labeling in a H-decomposable graph G is a bijection f : V (G) ∪ E(G) → {1, 2, ..., p + q} such that for every copy H in the decomposition, ∑νεV (H) f(v) + ∑νεE (H) f(e) is constant. f is said to be H-E-super magic if f(E(G)) = {1, 2, · · · , q}. A family of subgraphs H1,H2, · · · ,Hh of G is a mixed cycle-decomposition of G if every subgraph Hi is isomorphic to some cycle Ck, for k ≥...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010